importPackage(net.sf.odinms.client);
importPackage(net.sf.odinms.tools);

var status = 0;
var ap = 0;
var mmobs = Array(100100, 100101, 120100, 130101, 130100, 210100, 9400505, 1210100, 9420001, 1210102, 1110101, 2130100, 9500167, 1210101, 1120100, 1210103, 1110100, 2100100, 2100101, 9600001, 9600002, 2230108, 5200000, 2230107, 9600003, 9420004, 9400547, 2230109, 9420000, 2230200, 2100108, 2110301, 9100013, 9600004, 9300134, 3100102, 9400518, 3110300, 9600006, 9400509, 3210204, 5400000, 3230101, 3110302, 3210800, 3110303, 3230305, 3230308, 4230600, 9400563, 4230107, 4230109, 4110300, 9300014);
var mmonster = 0;
var mhp = 0;
var exp = 0;

function start() {
	status = -1;
	action(1, 0, 0);
}

function action(mode, type, selection) {
	if (mode == -1) {
		cm.dispose();
	} else {
		if (mode == 0) {
			//if (cm.getWorld() == 1)
			//	cm.sendOk("Then i will not warp you into the dangerous outer worlds where zombies remain.");
   			cm.dispose();
   			return;
  		}
		if (mode == 1)
   			status++;
  		else
   			status--;
		//if (cm.getWorld() == 0) {
		if (cm.getChar().getMapId() == 0) {
  			if (status == 0) {
				cm.getChar().setState(0);
				cm.sendNext("Hello, and welcome to\r\n\r\n" + cm.greenCharacters("ChickenMS"));
			} else if (status == 1) {
				cm.sendSimple("Where can i help you with?\r\n#b#L1#What has this server to offer?#l\r\n#L2#Where can i vote?#l\r\n\r\n#L3#I wanna leave this place!#l#k");
			} else if (status == 2) {
				switch (selection) {
					case 1:
						cm.sendOk("Wow, quite a lot actually\r\nYou find many things working here\r\n\r\nFor example:\r\n-MTS works\r\n-Alliances are working\r\n-Weddings are working\r\n-OX quiz works\r\n-Energy Charge works 100%\r\n#eAnd there is way more to discover on ChickenMS#n");
						cm.dispose();
						break;
					case 2:
						cm.sendOk("Excellent question!\r\nJust use @vote");
						cm.dispose();
						break;
					case 3:
						cm.sendSimple("Hmm ok, and what job do you want to be?#b\r\n#L1#Super beginner!#l\r\n#L2#Warrior#l\r\n#L3#Magician#l\r\n#L4#Bowman#l\r\n#L5#Thief#l\r\n#L6#Pirate#l#k");
				}
			} else if (status == 3) {
				switch (selection) {
					case 1: // Beginners - done
						cm.gainItem(1442021, 1);
						cm.gainItem(1442022, 1);
						cm.gainItem(1442023, 1);
						hp = 50;
						mp = 50;
						break;
					case 2: // Warriors - done - 183 - 154 // 170 - 140
						cm.setLevel(11);
						cm.changeJob(MapleJob.WARRIOR);
						cm.gainItem(1002044, 1);
						cm.gainItem(1092005, 1);
						cm.gainItem(1302077, 1);
						if (cm.getChar().getGender() == 0) {
							cm.gainItem(1040038, 1);
							cm.gainItem(1060028, 1);
						} else {
							cm.gainItem(1041064, 1);
							cm.gainItem(1061023, 1);
						}
						hp = 183;
						mp = 154;
						break;
					case 3: // Magicians - done // ap = 44
						cm.setLevel(9);
						cm.changeJob(MapleJob.MAGICIAN);
						cm.gainItem(1002074, 1);
						cm.gainItem(1072045, 1);
						cm.gainItem(1372043, 1);
						if (cm.getChar().getGender() == 0) {
							cm.gainItem(1040004, 1);
							cm.gainItem(1060012, 1);
						} else {
							cm.gainItem(1041015, 1);
							cm.gainItem(1061010, 1);
						}
						ap = 44;
						hp = 157;
						mp = 126;
						break;
					case 4: // Archers - done
						cm.setLevel(11);
						cm.changeJob(MapleJob.BOWMAN);
						cm.gainItem(1002057, 1);
						cm.gainItem(1072059, 1);
						cm.gainItem(1452051, 1);
						if (cm.getChar().getGender() == 0) {
							cm.gainItem(1040071, 1);
							cm.gainItem(1062004, 1);
						} else {
							cm.gainItem(1041007, 1);
							cm.gainItem(1061009, 1);
						}
						cm.gainItem(2060000, 2000);
						cm.gainItem(2061000, 2000);
						hp = 183;
						mp = 154;
						break;
					case 5: // Thiefs - done
						cm.setLevel(11);
						cm.changeJob(MapleJob.THIEF);
						cm.gainItem(1002123, 1);
						cm.gainItem(1072070, 1);
						cm.gainItem(1332063, 1);
						cm.gainItem(1472061, 1);
						if (cm.getChar().getGender() == 0) {
							cm.gainItem(1040031, 1);
							cm.gainItem(1060021, 1);
						} else {
							cm.gainItem(1041037, 1);
							cm.gainItem(1061030, 1);
						}
						cm.gainItem(2070000, 500);
						cm.gainItem(2070000, 500);
						hp = 183;
						mp = 154;
						break;
					case 6: // Pirates
						cm.setLevel(11);
						cm.changeJob(MapleJob.PIRATE);
						cm.gainItem(1482000, 1);
						cm.gainItem(1492000, 1);
						cm.gainItem(1002610, 1);
						cm.gainItem(1052095, 1);
						cm.gainItem(2330000, 500);
						cm.gainItem(2330000, 500);
						cm.teachSkill(5001005,10,10);
						cm.teachSkill(5110001,40,40);
						hp = 183;
						mp = 154;
						break;
					default:
						break;
				}
				if (ap == 0) {
					ap = 54;
				}
				cm.gainItem(1082002, 1);
				cm.gainItem(2000013, 50);
				cm.gainItem(2000014, 50);
				cm.gainMeso(100000);
				var statup = new java.util.ArrayList();
				cm.getChar().setStr(4);
				cm.getChar().setDex(4);
				cm.getChar().setInt(4);
				cm.getChar().setLuk(4);
				cm.getChar().setMaxMp(mp);
				cm.getChar().setMaxHp(hp);
				cm.getChar().setHp(hp);
				cm.getChar().setMp(mp);
				cm.getChar().setRemainingAp (ap);
				statup.add (new net.sf.odinms.tools.Pair(MapleStat.STR, java.lang.Integer.valueOf(4)));
				statup.add (new net.sf.odinms.tools.Pair(MapleStat.DEX, java.lang.Integer.valueOf(4)));
				statup.add (new net.sf.odinms.tools.Pair(MapleStat.LUK, java.lang.Integer.valueOf(4)));
				statup.add (new net.sf.odinms.tools.Pair(MapleStat.INT, java.lang.Integer.valueOf(4)));
				statup.add (new net.sf.odinms.tools.Pair(MapleStat.AVAILABLEAP, java.lang.Integer.valueOf(ap)));
				statup.add (new net.sf.odinms.tools.Pair(MapleStat.MAXHP, java.lang.Integer.valueOf(hp)));
				statup.add (new net.sf.odinms.tools.Pair(MapleStat.MAXMP, java.lang.Integer.valueOf(mp)));
				statup.add (new net.sf.odinms.tools.Pair(MapleStat.HP, java.lang.Integer.valueOf(hp)));
				statup.add (new net.sf.odinms.tools.Pair(MapleStat.MP, java.lang.Integer.valueOf(mp)));
				cm.getChar().getClient().getSession().write (net.sf.odinms.tools.MaplePacketCreator.updatePlayerStats(statup));
				if (cm.getRandom(1, 5) == 2)
					cm.warp(0, 3);
				else
					cm.warp(809050016);
				maxSkills();
			}
		} else {
			if (status == 0) {
				var selStr = "Hello #h #, Welcome to #rChickenMS#k\r\nI am here to earn some money!\r\nPick the mob and i will unleash it!#b";
				for (var i = 0; i < mmobs.length; i++) {
					selStr += "\r\n#L" + i + "##o" + mmobs[i] + "#";
				}
        	        	cm.sendSimple(selStr);
			} else if (status == 1) {
				mmonster = mmobs[selection];
				cm.sendGetText("How much HP must this monster have?\r\nThe minimum amount is 100\r\n#rfor abusing reasons is the maximum amount 10mil#k");
			} else if (status == 2) {
				mhp = cm.getText();
				exp = (mhp * 0.01);
				if (mhp >= 100 && mhp <= 10000000) {
					cm.sendOk("So you want to spawn a #o" + mmonster + "# with " + mhp + " hp for " + (mhp * 10) + " mesos?");
				} else {
					cm.sendOk("This is an illegal amount of HP");
					cm.dispose();
				}
			} else if (status == 3) {
				if (cm.getMeso() >= (mhp * 10)) {
					cm.spawnMob(mmonster, mhp, 1000, 1, exp, 0, 0, 1, 0, 0);
            				cm.gainMeso(-(mhp * 10));
					cm.dispose();
				} else {
					cm.sendOk("You dont have enough mesos");
					cm.dispose();
				}
			}
		}
		/*} else {
			if (cm.getChar().getMapId() == 0) {
  				if (status == 0) {
					cm.sendYesNo("Welcome to the Zombie Mod\r\nZombies have taken over the entire world!\r\nWill you help me defeat them?");
				} else if (status == 1) {
					cm.sendSimple("You are a brave human being!\r\nWhat job do you want to be?\r\n#b#L1#I want to be a Shooter!#l\r\n#L2#I want to be a Hunter!#l\r\n#L3#I want to be a Silent Killer!#l#k");
				} else {
					switch(selection) {
						case 1:
							cm.changeJob(MapleJob.GUNSLINGER);
							cm.gainItem(1492004, 1);
							cm.gainItem(2330001, 1200);
							break;
						case 2:
							cm.changeJob(MapleJob.HUNTER);
							cm.gainItem(1452005, 1);
							cm.gainItem(2060004, 1000);
							break;
						case 3:
							cm.changeJob(MapleJob.ASSASSIN);
							cm.gainItem(1472008, 1);
							cm.gainItem(2070005, 1000);
							break;
						default:
							break;
					}
					cm.gainItem(2000013, 50);
					cm.gainItem(2000014, 50);
					cm.gainItem(2050004, 100);
					cm.gainMeso(100000);
					var statup = new java.util.ArrayList();
					cm.setLevel(31);
					cm.getChar().setStr(4);
					cm.getChar().setDex(500);
					cm.getChar().setInt(4);
					cm.getChar().setLuk(4);
					cm.getChar().setMaxMp(1000);
					cm.getChar().setMaxHp(1000);
					cm.getChar().setHp(1000);
					cm.getChar().setMp(1000);
					cm.getChar().setRemainingAp (154);
					statup.add (new net.sf.odinms.tools.Pair(MapleStat.STR, java.lang.Integer.valueOf(4)));
					statup.add (new net.sf.odinms.tools.Pair(MapleStat.DEX, java.lang.Integer.valueOf(500)));
					statup.add (new net.sf.odinms.tools.Pair(MapleStat.LUK, java.lang.Integer.valueOf(4)));
					statup.add (new net.sf.odinms.tools.Pair(MapleStat.INT, java.lang.Integer.valueOf(4)));
					statup.add (new net.sf.odinms.tools.Pair(MapleStat.AVAILABLEAP, java.lang.Integer.valueOf(154)));
					statup.add (new net.sf.odinms.tools.Pair(MapleStat.MAXHP, java.lang.Integer.valueOf(1000)));
					statup.add (new net.sf.odinms.tools.Pair(MapleStat.MAXMP, java.lang.Integer.valueOf(1000)));
					statup.add (new net.sf.odinms.tools.Pair(MapleStat.HP, java.lang.Integer.valueOf(1000)));
					statup.add (new net.sf.odinms.tools.Pair(MapleStat.MP, java.lang.Integer.valueOf(1000)));
					cm.getChar().getClient().getSession().write (net.sf.odinms.tools.MaplePacketCreator.updatePlayerStats(statup));
					cm.warp(100000000);
					maxSkills();
				}
			}		
		}*/

	}
}

function maxSkills() {
				cm.teachSkill(8,1,1);
				cm.teachSkill(5000000,20,20);
				cm.teachSkill(5100000,10,10);
				cm.teachSkill(5100001,20,20);
				cm.teachSkill(5101006,20,20);
				cm.teachSkill(5001001,20,20); //Start of Pirate Job Skills
				cm.teachSkill(5001002,20,20);
				cm.teachSkill(5001003,20,20);
				cm.teachSkill(5101002,20,20);
				cm.teachSkill(5101003,20,20);
				cm.teachSkill(5101004,20,20);
				cm.teachSkill(5101005,10,10);
				cm.teachSkill(5101007,10,10);
				cm.teachSkill(5200000,20,20);
				cm.teachSkill(5201001,20,20);
				cm.teachSkill(5201002,20,20);
				cm.teachSkill(5201003,20,20);
				cm.teachSkill(5201004,20,20);
				cm.teachSkill(5201005,10,10);
				cm.teachSkill(5201006,20,20);
				cm.teachSkill(5110000,20,20);
				cm.teachSkill(5111002,30,30);
				cm.teachSkill(5111004,20,20);
				cm.teachSkill(5111005,20,20);
				cm.teachSkill(5111006,30,30);
				cm.teachSkill(5210000,20,20);
				cm.teachSkill(5211001,30,30);
				cm.teachSkill(5211002,30,30);
				cm.teachSkill(5211004,30,30);
				cm.teachSkill(5211005,30,30);
				cm.teachSkill(5211006,30,30);
				cm.teachSkill(5220001,30,30);
				cm.teachSkill(5220002,20,20);
				cm.teachSkill(5221000,20,20);
				cm.teachSkill(5221003,30,30);
				cm.teachSkill(5221004,30,30);
				cm.teachSkill(5221006,10,10);
				cm.teachSkill(5221007,30,30);
				cm.teachSkill(5221008,30,30);
				cm.teachSkill(5221009,20,20);
				cm.teachSkill(5221010,1,1);
				cm.teachSkill(5220011,20,20);
				cm.teachSkill(5121000,20,20);
				cm.teachSkill(5121001,30,30);
				cm.teachSkill(5121002,30,30);
				cm.teachSkill(5121003,20,20);
				cm.teachSkill(5121004,30,30);
				cm.teachSkill(5121005,30,30);
				cm.teachSkill(5121007,30,30);
				cm.teachSkill(5121008,1,1);
				cm.teachSkill(5121009,20,20);
				cm.teachSkill(5121010,30,30); //End of Pirate Job Skills
				cm.teachSkill(1004,1,1);
				cm.teachSkill(1121011,1,1);
				cm.teachSkill(1221012,1,1);
				cm.teachSkill(1321010,1,1);
				cm.teachSkill(2121008,1,1);
				cm.teachSkill(2221008,1,1);
				cm.teachSkill(2321009,1,1);
				cm.teachSkill(3121009,1,1);
				cm.teachSkill(3221008,1,1);
				cm.teachSkill(4121009,1,1);
				cm.teachSkill(4221008,1,1); //End of max-level "1" skills
				cm.teachSkill(1000002,8,8); //Start of max-level "8" skills
				cm.teachSkill(3000002,8,8);
				cm.teachSkill(4000001,8,8); //End of max-level "8" skills
				cm.teachSkill(1000001,10,10); //Start of max-level "10" skills
				cm.teachSkill(2000001,10,10); //End of max-level "10" skills
				cm.teachSkill(1000000,16,16); //Start of max-level "16" skills
				cm.teachSkill(2000000,16,16);
				cm.teachSkill(3000000,16,16); //End of max-level "16" skills
				cm.teachSkill(1001003,20,20); //Start of max-level "20" skills
				cm.teachSkill(1001004,20,20);
				cm.teachSkill(1001005,20,20);
				cm.teachSkill(2001002,20,20);
				cm.teachSkill(2001003,20,20);
				cm.teachSkill(2001004,20,20);
				cm.teachSkill(2001005,20,20);
				cm.teachSkill(3000001,20,20);
				cm.teachSkill(3001003,20,20);
				cm.teachSkill(3001004,20,20);
				cm.teachSkill(3001005,20,20);
				cm.teachSkill(4000000,20,20);
				cm.teachSkill(4001344,20,20);
				cm.teachSkill(4001334,20,20);
				cm.teachSkill(4001002,20,20);
				cm.teachSkill(4001003,20,20);
				cm.teachSkill(1101005,20,20);
				cm.teachSkill(1100001,20,20); //Start of mastery's
				cm.teachSkill(1100000,20,20);
				cm.teachSkill(1200001,20,20);
				cm.teachSkill(1200000,20,20);
				cm.teachSkill(1300000,20,20);
				cm.teachSkill(1300001,20,20);
				cm.teachSkill(3100000,20,20);
				cm.teachSkill(3200000,20,20);
				cm.teachSkill(4100000,20,20);
				cm.teachSkill(4200000,20,20); //End of mastery's
				cm.teachSkill(4201002,20,20);
				cm.teachSkill(4101003,20,20);
				cm.teachSkill(3201002,20,20);
				cm.teachSkill(3101002,20,20);
				cm.teachSkill(1301004,20,20);
				cm.teachSkill(1301005,20,20);
				cm.teachSkill(1201004,20,20);
				cm.teachSkill(1201005,20,20);
				cm.teachSkill(1101004,20,20); //End of boosters
				cm.teachSkill(1101006,20,20);
				cm.teachSkill(1201006,20,20);
				cm.teachSkill(1301006,20,20);
				cm.teachSkill(2101001,20,20);
				cm.teachSkill(2100000,20,20);
				cm.teachSkill(2101003,20,20);
				cm.teachSkill(2101002,20,20);
				cm.teachSkill(2201001,20,20);
				cm.teachSkill(2200000,20,20);
				cm.teachSkill(2201003,20,20);
				cm.teachSkill(2201002,20,20);
				cm.teachSkill(2301004,20,20);
				cm.teachSkill(2301003,20,20);
				cm.teachSkill(2300000,20,20);
				cm.teachSkill(2301001,20,20);
				cm.teachSkill(3101003,20,20);
				cm.teachSkill(3101004,20,20);
				cm.teachSkill(3201003,20,20);
				cm.teachSkill(3201004,20,20);
				cm.teachSkill(4100002,20,20);
				cm.teachSkill(4101004,20,20);
				cm.teachSkill(4200001,20,20);
				cm.teachSkill(4201003,20,20); //End of second-job skills and first-job
				cm.teachSkill(4211005,20,20);
				cm.teachSkill(4211003,20,20);
				cm.teachSkill(4210000,20,20);
				cm.teachSkill(4110000,20,20);
				cm.teachSkill(4111001,20,20);
				cm.teachSkill(4111003,20,20);
				cm.teachSkill(3210000,20,20);
				cm.teachSkill(3110000,20,20);
				cm.teachSkill(3210001,20,20);
				cm.teachSkill(3110001,20,20);
				cm.teachSkill(3211002,20,20);
				cm.teachSkill(3111002,20,20);
				cm.teachSkill(2210000,20,20);
				cm.teachSkill(2211004,20,20);
				cm.teachSkill(2211005,20,20);
				cm.teachSkill(2111005,20,20);
				cm.teachSkill(2111004,20,20);
				cm.teachSkill(2110000,20,20);
				cm.teachSkill(2311001,20,20);
				cm.teachSkill(2311005,20,20);
				cm.teachSkill(2310000,20,20);
				cm.teachSkill(1311007,20,20);
				cm.teachSkill(1310000,20,20);
				cm.teachSkill(1311008,20,20);
				cm.teachSkill(1210001,20,20);
				cm.teachSkill(1211009,20,20);
				cm.teachSkill(1210000,20,20);
				cm.teachSkill(1110001,20,20);
				cm.teachSkill(1111007,20,20);
				cm.teachSkill(1110000,20,20); //End of 3rd job skills
				cm.teachSkill(1121000,20,20);
				cm.teachSkill(1221000,20,20);
				cm.teachSkill(1321000,20,20);
				cm.teachSkill(2121000,20,20);
				cm.teachSkill(2221000,20,20);
				cm.teachSkill(2321000,20,20);
				cm.teachSkill(3121000,20,20);
				cm.teachSkill(3221000,20,20);
				cm.teachSkill(4121000,20,20);
				cm.teachSkill(4221000,20,20); //End of Maple Warrior // Also end of max-level "20" skills
				cm.teachSkill(1321007,10,10);
				cm.teachSkill(1320009,25,25);
				cm.teachSkill(1320008,25,25);
				cm.teachSkill(2321006,10,10);
				cm.teachSkill(1220010,10,10);
				cm.teachSkill(1221004,19,19);
				cm.teachSkill(1221003,19,19);
				cm.teachSkill(1100003,30,30);
				cm.teachSkill(1100002,30,30);
				cm.teachSkill(1101007,30,30);
				cm.teachSkill(1200003,30,30);
				cm.teachSkill(1200002,30,30);
				cm.teachSkill(1201007,30,30);
				cm.teachSkill(1300003,30,30);
				cm.teachSkill(1300002,30,30);
				cm.teachSkill(1301007,30,30);
				cm.teachSkill(2101004,30,30);
				cm.teachSkill(2101005,30,30);
				cm.teachSkill(2201004,30,30);
				cm.teachSkill(2201005,30,30);
				cm.teachSkill(2301002,30,30);
				cm.teachSkill(2301005,30,30);
				cm.teachSkill(3101005,30,30);
				cm.teachSkill(3201005,30,30);
				cm.teachSkill(4100001,30,30);
				cm.teachSkill(4101005,30,30);
				cm.teachSkill(4201005,30,30);
				cm.teachSkill(4201004,30,30);
				cm.teachSkill(1111006,30,30);
				cm.teachSkill(1111005,30,30);
				cm.teachSkill(1111002,30,30);
				cm.teachSkill(1111004,30,30);
				cm.teachSkill(1111003,30,30);
				cm.teachSkill(1111008,30,30);
				cm.teachSkill(1211006,30,30);
				cm.teachSkill(1211002,30,30);
				cm.teachSkill(1211004,30,30);
				cm.teachSkill(1211003,30,30);
				cm.teachSkill(1211005,30,30);
				cm.teachSkill(1211008,30,30);
				cm.teachSkill(1211007,30,30);
				cm.teachSkill(1311004,30,30);
				cm.teachSkill(1311003,30,30);
				cm.teachSkill(1311006,30,30);
				cm.teachSkill(1311002,30,30);
				cm.teachSkill(1311005,30,30);
				cm.teachSkill(1311001,30,30);
				cm.teachSkill(2110001,30,30);
				cm.teachSkill(2111006,30,30);
				cm.teachSkill(2111002,30,30);
				cm.teachSkill(2111003,30,30);
				cm.teachSkill(2210001,30,30);
				cm.teachSkill(2211006,30,30);
				cm.teachSkill(2211002,30,30);
				cm.teachSkill(2211003,30,30);
				cm.teachSkill(2311003,30,30);
				cm.teachSkill(2311002,30,30);
				cm.teachSkill(2311004,30,30);
				cm.teachSkill(2311006,30,30);
				cm.teachSkill(3111004,30,30);
				cm.teachSkill(3111003,30,30);
				cm.teachSkill(3111005,30,30);
				cm.teachSkill(3111006,30,30);
				cm.teachSkill(3211004,30,30);
				cm.teachSkill(3211003,30,30);
				cm.teachSkill(3211005,30,30);
				cm.teachSkill(3211006,30,30);
				cm.teachSkill(4111005,30,30);
				cm.teachSkill(4111006,20,20);
				cm.teachSkill(4111004,30,30);
				cm.teachSkill(4111002,30,30);
				cm.teachSkill(4211002,30,30);
				cm.teachSkill(4211004,30,30);
				cm.teachSkill(4211001,30,30);
				cm.teachSkill(4211006,30,30);
				cm.teachSkill(1120004,30,30);
				cm.teachSkill(1120003,30,30);
				cm.teachSkill(1121008,30,30);
				cm.teachSkill(1121010,30,30);
				cm.teachSkill(1121006,30,30);
				cm.teachSkill(1121002,30,30);
				cm.teachSkill(1220005,30,30);
				cm.teachSkill(1221009,30,30);
				cm.teachSkill(1221007,30,30);
				cm.teachSkill(1221011,30,30);
				cm.teachSkill(1221002,30,30);
				cm.teachSkill(1320005,30,30);
				cm.teachSkill(1320006,30,30);
				cm.teachSkill(1321003,30,30);
				cm.teachSkill(1321002,30,30);
				cm.teachSkill(2121005,30,30);
				cm.teachSkill(2121003,30,30);
				cm.teachSkill(2121004,30,30);
				cm.teachSkill(2121002,30,30);
				cm.teachSkill(2121007,30,30);
				cm.teachSkill(2121006,30,30);
				cm.teachSkill(2221007,30,30);
				cm.teachSkill(2221006,30,30);
				cm.teachSkill(2221003,30,30);
				cm.teachSkill(2221005,30,30);
				cm.teachSkill(2221004,30,30);
				cm.teachSkill(2221002,30,30);
				cm.teachSkill(2321007,30,30);
				cm.teachSkill(2321003,30,30);
				cm.teachSkill(2321008,30,30);
				cm.teachSkill(2321005,30,30);
				cm.teachSkill(2321004,30,30);
				cm.teachSkill(2321002,30,30);
				cm.teachSkill(3120005,30,30);
				cm.teachSkill(3121008,30,30);
				cm.teachSkill(3121003,30,30);
				cm.teachSkill(3121007,30,30);
				cm.teachSkill(3121006,30,30);
				cm.teachSkill(3121002,30,30);
				cm.teachSkill(3121004,30,30);
				cm.teachSkill(3221006,30,30);
				cm.teachSkill(3220004,30,30);
				cm.teachSkill(3221003,30,30);
				cm.teachSkill(3221005,30,30);
				cm.teachSkill(3221001,30,30);
				cm.teachSkill(3221002,30,30);
				cm.teachSkill(4121004,30,30);
				cm.teachSkill(4121008,30,30);
				cm.teachSkill(4121003,30,30);
				cm.teachSkill(4121006,30,30);
				cm.teachSkill(4121007,30,30);
				cm.teachSkill(4120005,30,30);
				cm.teachSkill(4221001,30,30);
				cm.teachSkill(4221007,30,30);
				cm.teachSkill(4221004,30,30);
				cm.teachSkill(4221003,30,30);
				cm.teachSkill(4221006,30,30);
				cm.teachSkill(4220005,30,30);
				cm.teachSkill(1221001,30,30);
				cm.teachSkill(1121001,30,30);
				cm.teachSkill(1321001,30,30);
				cm.teachSkill(2121001,30,30);
				cm.teachSkill(2221001,30,30);
				cm.teachSkill(2321001,30,30);
				cm.dispose();
}